﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using MaxZhang.EasyEntities.Dynamic.Aop;

namespace MaxZhang.EasyEntities.Attribute
{

    //C# 定义各种装饰属性
    /// <summary>
    /// 外部“横切”机制的抽象对象 
    /// </summary>
    [AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Interface | AttributeTargets.Class, Inherited = true)]
    public abstract class InterceptorBaseAttribute : System.Attribute
    {
        public abstract bool Process(ProcessContext context);
    }

}
